ELF unexec: Tidy code
authorAlan Modra <amodra@gmail.com>
Sun, 8 Nov 2015 17:28:59 +0000 (09:28 -0800)
committerRob Browning <rlb@defaultvalue.org>
Mon, 18 Jan 2016 21:13:43 +0000 (15:13 -0600)
commit9fa97f0c2c1afae39b6662a836910deb1e0130ad
tree53637dff7d62a0cf31d4f1822e66376c079b6077
parent0a97fb1992c8cc3612a2358f576f774ea1f36777
ELF unexec: Tidy code

Emacs should build on ppc64el.  A problem with the bss has been fixed.

This upstream patch has been added [2/10]:

  ELF unexec: Tidy code

  Separate out some of the more mechanical changes so following patches
  are smaller.

  * unexelf.c (unexec): Rearrange initialisation of program
  header vars.  Use pointer vars in loops rather than indexing
  section header array via macros.  Simplify _OBJC_ sym code
  and reloc handling code.

Origin: upstream, commit: 856f4eaba8a76953e0bbcfc7ebb0ca4f2e3cf351
Bug: http://debbugs.gnu.org/20614
Bug-Debian: http://bugs.debian.org/808347
Added-by: Rob Browning <rlb@defaultvalue.org>
src/unexelf.c